package com.jdz.dao;

import com.jdz.pojo.RaceTypeSamsara;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RaceTypeSamsaraMapper {
    int deleteByPrimaryKey(Integer racetypesamsarano);

    int insert(RaceTypeSamsara record);

    int insertSelective(RaceTypeSamsara record);

    RaceTypeSamsara selectByPrimaryKey(Integer racetypesamsarano);

    int updateByPrimaryKeySelective(RaceTypeSamsara record);

    int updateByPrimaryKey(RaceTypeSamsara record);

    List<RaceTypeSamsara> selectByRacetypeno(Integer racetypeno);

    List<RaceTypeSamsara> allRacetypeno();

    RaceTypeSamsara selectByRacetypenoAndRaceTypeSamsaraGrade(@Param("raceTypeNo") Integer raceTypeNo, @Param("raceTypeSamsaraGrade") Integer raceTypeSamsaraGrade);

}